#include<stdio.h>
int main()
{
	int score;
	char A='A',B='B',C='C',D='D',E='E';
	printf("score=");
	scanf("%d",&score);
	if(score>=90)
	         printf("grade=%c",A);
	else if(score>=80&&score<=89) 
	         printf("grade=%c",B);
	else if(score>=70&&score<=79) 
	         printf("grade=%c",C);
	else if(score>=60&&score<69)
	         printf("grade=%c",D);
	else if(score<60)
	         printf("grade=%c",E);
	  return 0;
			 		          
}
